package com.yhos.platform.oopston.web.api.dto.oopston;

import com.yhos.platform.oopston.core.annotation.NotNullValid;
import io.swagger.annotations.ApiModelProperty;

public class OrderPackageCreateRequestApiDTO {

    @ApiModelProperty(value = "重量 KG", required = true)
    @NotNullValid(message = "包裹重量不能为空")
    private String weight;

    @ApiModelProperty(value = "长 CM", required = true)
    @NotNullValid(message = "包裹长度不能为空")
    private String length;

    @ApiModelProperty(value = "宽 CM", required = true)
    @NotNullValid(message = "包裹宽度不能为空")
    private String width;

    @ApiModelProperty(value = "高 CM", required = true)
    @NotNullValid(message = "包裹高度不能为空")
    private String height;

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getLength() {
        return length;
    }

    public void setLength(String length) {
        this.length = length;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

}
